<?php get_header(); ?>

<div class="span-24" id="content">

	<?php if (have_posts()) : ?>
		
		<?php while (have_posts()) : the_post(); ?>
           
           <div class="boxpost">
                <div class="titolobox">
                <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
                <div class="categoria">Archived in the category: <?php the_category(', ') ?></div>
                <div class="commenti">Posted by <?php the_author(); ?> on <?php the_time('d M y'); ?> - <?php comments_popup_link('0 Comments', '1 Comment', '% Comments'); ?></div> 
				</div>
                <div class="entry">
					<?php the_content('Read more &raquo;'); ?>
				</div>
                </div>
		<?php endwhile; ?>
		<div class="navprev"><?php posts_nav_link('','',' Previous') ?> </div>
        <div class="navsucc"><?php posts_nav_link('','Next ','') ?> </div>
        <div class="blockl"></div>
	<?php else : ?>

		<h2 class="center">Not Found</h2>
		<p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>
		<?php include (TEMPLATEPATH . "/searchform.php"); ?>

	<?php endif; ?>

 </div>
<?php get_sidebar(); ?> 
<?php get_footer(); ?>